Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DUI3-426 add offset rotation to the currently applied crs to send receive data #3545

Conversation

KatKatKateryna
Copy link
Contributor

@KatKatKateryna KatKatKateryna commented Jun 29, 2024

Introduces SpatialReference settings with custom settings (offset, rotation) to be set per Send/Receive operation.
This makes the operation independent on the Map settings, especially if we need to read and apply a Spatial Reference/CRS specified in the received commit. This creates the placeholder to add these custom settings once we have a standardized ProjectInfo property.
TODO: after #3521 is merged, need to check every converter and replace ContextStack Units and SpatialRef data with the "ActiveCRS" data
TODO 2: save offsets on send, and read on receive

@oguzhankoral oguzhankoral changed the title D ui3 426 add offset rotation to the currently applied crs to send receive data DUI3-426 add offset rotation to the currently applied crs to send receive data Jul 1, 2024
KatKatKateryna added a commit to specklesystems/speckle-sharp-connectors that referenced this pull request Jul 5, 2024
KatKatKateryna added a commit to specklesystems/speckle-sharp-connectors that referenced this pull request Jul 15, 2024
* PR moved from specklesystems/speckle-sharp#3545

* ArcGISDocument to Singleton

* read offsets from metadata

* move crs assignment on send to RootObjBuilder

* move all conversions to activeCRS

* safer read from metadata

* default degrees to meters (like QGIS)

* csharpier

* scoped

* remove UoW from root builders as send/recieve bindings already use it (#21)

* remove POC comment

* remove unnecessary assignments; add offsets to incoming dataset name

* limit dataset name length

* tilt ellipse on receive

* fix substrings

* remove Rhino uow comment

* add SR to the received dataset name

* format

---------

Co-authored-by: Adam Hathcock <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant